﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Manage.Master" AutoEventWireup="true"
    CodeBehind="logList.aspx.cs" Inherits="ZF.WS.Admin.service.logList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="tabContainer">
        <zf:GridView ID="gvList" runat="server" OnSorting="gvListSorting" OnPageIndexChanging="gvListPageChanging">
            <Columns>
                <zf:TemplateField IsKeyField="true" DefaultSortField="true" DefaultSortDirection="Descending"  SortExpression="LogId">
                    <ItemTemplate>
                        <asp:Label runat="server" ID="KeyLabel" Text='<%# Eval("LogId")%>'></asp:Label>
                    </ItemTemplate>
                </zf:TemplateField>
                <zf:TemplateField IsCheckField="true">
                </zf:TemplateField>
                <zf:TemplateField IsSerialNoField="true" Visible="false">
                </zf:TemplateField>
                <zf:TemplateField HeaderText="标题">
                    <ItemTemplate>
                        <%# Eval("Title")%>
                    </ItemTemplate>
                </zf:TemplateField>
                <zf:TemplateField HeaderText="引发时间">
                    <ItemTemplate>
                        <%# Eval("CreateTime") %>
                    </ItemTemplate>
                </zf:TemplateField>
                
 
                <zf:TemplateField HeaderText="操作">
                    <ItemTemplate>
                        <a href='<%=ManagePage %>?ot=Edit&id=<%# Eval("LogId")%>'>详细</a> |
                        <zf:LinkButton ID="LinkButton1" runat="server" OnClick="Delete" CommandArgument='<%# Eval("LogId")%>'
                            OnClientClick="return confirm('是否确定要删除此记录');">删除</zf:LinkButton>
                    </ItemTemplate>
                </zf:TemplateField>
            </Columns>
        </zf:GridView>
    </div>
 
 
 <!--列表 结束-->
    <div class="mt5_ fc_">
    </div>
    <!--自定义按钮 开始-->
    <div class="btnContainer mt10_">
        <span class="fl_ mr10_">
            <input type="checkbox" class="checkAll" bind=".tab" />选中本页显示的所有记录</span>
       
        <zf:LinkButton ID="LinkButton1" runat="server" OnClick="Delete" CommandArgument='select'
            OnClientClick="return confirm('是否确定要删除选中记录');">删除选中的记录</zf:LinkButton>
        
        <zf:LinkButton ID="LinkButton2" runat="server" OnClick="Delete" CommandArgument='lastMonth'
            OnClientClick="return confirm('是否确定要删除一个月以前的记录');">删除一个月以前的记录</zf:LinkButton>
            
            <zf:LinkButton ID="LinkButton3" runat="server" OnClick="Delete" CommandArgument='halfYear'
            OnClientClick="return confirm('是否确定要删除删除半年以前的记录');">删除半年以前的记录</zf:LinkButton>
            
        
    </div>
    <!--自定义按钮 结束-->
    <div class="fc_ mt10_">
    </div>
</asp:Content>
